gh-141563: Add missing cast to _PyDateTime_IMPORT()#144667
gh-141563: Add missing cast to _PyDateTime_IMPORT()#144667vstinner merged 1 commit intopython:mainfrom
Conversation
Fix compilation on C++. Add test on PyDateTime_IMPORT in test_cext and test_cppext.
|
|
Oops, I didn't run all test_cext/test_cppext locally, and as usual, I messed up the tests :-( I wrote #144673 to fix test_cext/test_cppext. |
|
(And as usual, test_cext/test_cppext are not run in GitHub Actions since they are too slow: they require the |
|
|
Sadly, the fix doesn't work on Windows: #144677 follow-up should fix Windows. |
Fix compilation on C++.
Add test on PyDateTime_IMPORT in test_cext and test_cppext.
datetimeC API is not thread-safe #141563